﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ejemplo.aspx.cs" Inherits="administration_ejemplo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:datalist id="dList" runat="server" Width="100%">
                <HeaderTemplate>
                    <table width="100%" style="font: 10pt verdana" cellpadding="0" cellspacing="0">
                        <tr style="background-color:blue">
                        <th align="left">
                        <font color="#FFFFFF">Campo 1</font></th>
                        <th align="left">
                        <font color="#FFFFFF">Campo 2</font></th>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                        <tr>
                            <td width="50%"><%#Eval("ID")%></td>
                            <td><%#Eval("NAME")%></td>
                        </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:datalist>
            <P>
                <a name="mensaje"></a>
                <table width="100%" align="right">
                    <tr>
                        <td align="left" width="76%"><asp:label id="lblStatus" Font-Size="10pt" Font-Name="verdana" Runat="server"></asp:label></td>
                        <td width="6%"><A id="hrefFirst" href="datalistpaging.aspx#this" runat="server" onserverclick="ShowFirst"><b>&lt;&lt;</b></A>
                        </td>
                        <td width="6%"><A id="hrefPrevious" href="#" runat="server" onserverclick="ShowPrevious"><b>&lt;</b></A>
                        </td>
                        <td width="6%"><A id="hrefNext" href="#" runat="server" onserverclick="ShowNext"><b>&gt;</b></A>
                        </td>
                        <td width="6%"><A id="hrefLast" href="#" runat="server" onserverclick="ShowLast"><b>&gt;&gt;</b></A>
                        </td>
                    </tr>
                </table>
            </P>
            <P>
                <asp:label id="intCurrIndex" Runat="server" Visible="False"></asp:label>
                <asp:label id="intPageSize" Runat="server" Visible="False"></asp:label>
                <asp:label id="intRecordCount" Runat="server" Visible="False"></asp:label>
            </P>
        </div>
    </form>
</body>
</html>